home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="utf-8"?> <html><head><title>Rem Statement [Runtime]</title><meta name="filename" content="text/sbasic/common/03090407"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css"> table.Tabelle1{ } span.Tabelle1A{ width:1.499cm;} span.Tabelle1B{ width:16.498cm;} tr.Tabelle11{ } td.Tabelle1A1{ } p.P1{ } span.T1{ font-weight:bold;} span.fr1{ } </style></head><body> <help:paragraphinfo state="E" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="rem" xmlns:help="http://openoffice.org/2000/help"> <p class="Head1"><help:paragraphinfo state="U" number="1"/><help:key-word value="Rem; statement" tag="kw66571_1"/><help:key-word value="comments; Rem" tag="kw66571_2"/><help:link Id="66571">Rem Statement [Runtime]</help:link></p> <p class="Paragraph"><help:paragraphinfo state="U" number="2"/>Specifies that a program line is a comment.</p> <help:paragraphinfo state="E"/></help:to-be-embedded> <p class="Head2"><help:paragraphinfo state="U" number="3" xmlns:help="http://openoffice.org/2000/help"/>Syntax:</p> <p class="Paragraph"><help:paragraphinfo state="U" number="4" xmlns:help="http://openoffice.org/2000/help"/>Rem Text</p> <p class="Head2"><help:paragraphinfo state="U" number="5" xmlns:help="http://openoffice.org/2000/help"/>Parameters:</p> <p class="Paragraph"><help:paragraphinfo state="U" number="6" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Text:</span> Any text that serves as a comment.</p> <table><tr class="Tabelle11"><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A"> <p class="TextInTable"><draw:image draw:name="Icon0" svg:desc="This icon is for tips on how to use the program more effectively." svg:pixelx="32" svg:pixely="32" svg:width="0.847cm" svg:height="0.847cm" xlink:href="66732" draw:filter-name="" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p> </span></th><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B"> <p class="TextInTable"><help:paragraphinfo state="U" number="7" xmlns:help="http://openoffice.org/2000/help"/>You can use the single quotation mark instead of the Rem keyword to indicate that the text on a line is comments. This symbol can be inserted directly to the right of the program code, followed by a comment.</p> </span></th></tr></table> <p class="Head2"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/>Example:</p> <p class="PropText"><help:paragraphinfo state="U" number="9" xmlns:help="http://openoffice.org/2000/help"/>Sub ExampleMid</p> <p class="PropText"><help:paragraphinfo state="U" number="10" xmlns:help="http://openoffice.org/2000/help"/>DIM sVar As String</p> <p class="PropText"><help:paragraphinfo state="U" number="11" xmlns:help="http://openoffice.org/2000/help"/>sVar = "Las Vegas"</p> <p class="PropText"><help:paragraphinfo state="U" number="12" xmlns:help="http://openoffice.org/2000/help"/>Print Mid(sVar,3,5) REM Returns "s Veg"</p> <p class="PropText"><help:paragraphinfo state="U" number="13" xmlns:help="http://openoffice.org/2000/help"/>REM Nothing occurs here</p> <p class="PropText"><help:paragraphinfo state="U" number="14" xmlns:help="http://openoffice.org/2000/help"/>end sub</p> <p class="PropText"><help:paragraphinfo state="U" number="15" xmlns:help="http://openoffice.org/2000/help"/></p> </body></html>